package com.gkr.shopping.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Update;

import com.gkr.shopping.bean.Order;

public interface OrderMapper {

	void saveOrder(Order order);

	List<Order> getOrdersByUserId(int userId);

	//修改订单状态
	@Update("update ec_order set pay_status = '1' where order_code = #{orderNo}")
	void updateOrderPayOrderNo(String orderNo);

}